<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/27
 * Time: 21:26
 */

namespace app\index\validate;


class ProductValidate extends BaseValidate
{
    protected $rule = [
        'name' => 'require',
        'summary' => 'require',
        'category' => 'require',
        'alias' => 'require',
        'status' => 'require|zeroOrOne'
    ];
}